CMAKE_MINIMUM_REQUIRED(VERSION 3.8)
PROJECT(common)

INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR})

AUX_SOURCE_DIRECTORY(${PROJECT_SOURCE_DIR} src)
# AUX_SOURCE_DIRECTORY(${PROJECT_SOURCE_DIR}/config src)
# AUX_SOURCE_DIRECTORY(${PROJECT_SOURCE_DIR}/def src)
# AUX_SOURCE_DIRECTORY(${PROJECT_SOURCE_DIR}/event src)
# AUX_SOURCE_DIRECTORY(${PROJECT_SOURCE_DIR}/http src)
# AUX_SOURCE_DIRECTORY(${PROJECT_SOURCE_DIR}/proto src)
# AUX_SOURCE_DIRECTORY(${PROJECT_SOURCE_DIR}/server src)

ADD_LIBRARY(${PROJECT_NAME} STATIC ${src})
